package com.gitee.neuray.security.auth.service;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface AuthService {
    Map<String,String> login(String username, String password, HttpServletRequest request, HttpServletResponse response) throws Exception;
    void validate(String token) throws Exception;
    Object tokenValidate(String token) throws Exception;
}
